Skip to content

Commit

Permalink
fixed model tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fratajcz committed Oct 14, 2024
1 parent 80bc9ec commit ea27750
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion speos/preprocessing/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self, config, preprocessor_kwargs):
"""
self.config = config
mappings = GWASMapper().get_mappings(config.input.tag, fields=config.input.field)
mappings = GWASMapper(self.config.input.gwas_mappings).get_mappings(config.input.tag, fields=config.input.field)

adjacencies = AdjacencyMapper(config.input.adjacency_mappings, blacklist=self.config.input.adjacency_blacklist).get_mappings(config.input.adjacency, fields=config.input.adjacency_field)

Expand Down
1 change: 1 addition & 0 deletions speos/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def setUp(self):
super().setUp()

self.config.name = "SimpleModelTest"
self.config.input.tag = "dummy"
self.config.training.pos_weight = 2
self.config.training.dilution = 2
#self.config.model.mp.type = "gcn"
Expand Down

0 comments on commit ea27750

Please sign in to comment.