Skip to content

Commit

Permalink
add explicit attribute self.chem_classes
Browse files Browse the repository at this point in the history
add explicit attribute `self.chem_classes` to make class `NPLinker` workable.
  • Loading branch information
CunliangGeng committed Jan 24, 2024
1 parent 76db23c commit d085aec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nplinker/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def __init__(self, config_data):
self.webapp_scoring_cutoff = self._config_webapp.get(
"tables_metcalf_threshold", self.TABLES_CUTOFF_DEFAULT
)
self.chem_classes = None

logger.debug(
"DatasetLoader({}, {}, {})".format(self._root, self.dataset_id, self._remote_loading)
Expand Down

0 comments on commit d085aec

Please sign in to comment.