Skip to content

Commit b3b444a

Browse files
Adds support for ncit file loader --ignoreSynonyms & --ignoreDeprecating flags
1 parent b9fcf83 commit b3b444a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

bin/load.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,16 @@ fileParser.add_argument('--ignoreCache', {
9797
default: false,
9898
help: 'Load the full content, to not check for previously loaded records already in the GraphKB instance',
9999
});
100+
fileParser.add_argument('--ignoreSynonyms', {
101+
action: 'store_true',
102+
default: false,
103+
help: 'For NCIt loader only: ignore synonyms instead upload as alias records (overrides default behavior)',
104+
});
105+
fileParser.add_argument('--ignoreDeprecating', {
106+
action: 'store_true',
107+
default: false,
108+
help: 'For NCIt loader only: ignore deprecation of old records (overrides default behavior)',
109+
});
100110

101111
const civicParser = subparsers.add_parser('civic');
102112
civicParser.add_argument('--trustedCurators', {

0 commit comments

Comments
 (0)