Skip to content
Snippets Groups Projects
Commit e2eb1bf2 authored by David Sehnal's avatar David Sehnal
Browse files

model-server: config tweak

parent 5a64a6f1
Branches
Tags
No related merge requests found
......@@ -163,7 +163,8 @@ function addServerArgs(parser: argparse.ArgumentParser) {
'Example: pdb-bcif \'../../data/bcif/${id}.bcif\' ',
'JS expressions can be used inside ${}, e.g. \'${id.substr(1, 2)}/${id}.mdb\'',
'Can be specified multiple times.',
'The `SOURCE` variable (e.g. `pdb-bcif`) is arbitrary and depends on how you plan to use the server.'
'The `SOURCE` variable (e.g. `pdb-bcif`) is arbitrary and depends on how you plan to use the server.',
`Supported formats: ${ModelServerFetchFormats.join(', ')}`
].join('\n'),
});
parser.addArgument([ '--sourceMapUrl' ], {
......@@ -171,9 +172,9 @@ function addServerArgs(parser: argparse.ArgumentParser) {
action: 'append',
metavar: ['SOURCE', 'PATH', 'SOURCE_MAP_FORMAT'] as any,
help: [
'Same as --sourceMap but for URL. --sourceMap src url format',
'Example: pdb-cif "https://www.ebi.ac.uk/pdbe/entry-files/download/${id}_updated.cif" cif',
'Format is either cif or bcif'
'Same as --sourceMap but for URL. \'--sourceMapUrl src url format\'',
'Example: \'pdb-cif "https://www.ebi.ac.uk/pdbe/entry-files/download/${id}_updated.cif" cif\'',
`Supported formats: ${ModelServerFetchFormats.join(', ')}`
].join('\n'),
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment