Commit 111efcc6 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Linting.

parent 33be11b6
......@@ -258,7 +258,7 @@ class RawFiles extends React.Component {
<Tooltip title={file + (index === 0 ? ', the main (output) file of this entry' : '')}>
<FormControlLabel
style={{flexGrow: 1, overflowX: 'hidden', textOverflow: 'ellipsis'}}
label={<span>{this.label(file)}{index === 0 ? <b className={classes.mainfileLabel}> (mainfile)</b>: ''}</span>}
label={<span>{this.label(file)}{index === 0 ? <b className={classes.mainfileLabel}> (mainfile)</b> : ''}</span>}
classes={{
root: classes.fileNameFormGroupLabel,
label: file === shownFile ? classes.shownFile : classes.fileNameLabel}}
......
......@@ -393,7 +393,7 @@ def load_config(config_file: str = os.environ.get('NOMAD_CONFIG', 'nomad.yaml'))
'config key %s value %s has wrong type: %s' % (key, str(value), str(e)))
else:
config[key] = value
logger.info('override config key %s with value %s' % (key, str(value)))
logger.debug('override config key %s with value %s' % (key, str(value)))
else:
logger.error('config key %s does not exist' % key)
......
......@@ -19,7 +19,7 @@ DFT specific metadata
import re
from nomad import config, utils
from nomad.metainfo import MSection, Section, Quantity, MEnum, SubSection, Package
from nomad.metainfo import MSection, Section, Quantity, MEnum, SubSection
from nomad.metainfo.search_extension import Search
from .common import get_optional_backend_value
......
......@@ -17,7 +17,7 @@ Experimental material science specific metadata
'''
from nomad import config
from nomad.metainfo import Quantity, MSection, Section, Datetime, Package
from nomad.metainfo import Quantity, MSection, Section, Datetime
from nomad.metainfo.search_extension import Search
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment