Skip to content

Commit

Permalink
Added a dummy test for passing pipeline
Browse files Browse the repository at this point in the history
Fixed mypy
  • Loading branch information
JosePizarro3 committed Jan 29, 2024
1 parent 41cae90 commit 3beef28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 1 addition & 3 deletions simulationdataschema/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ class Simulation(BaseSimulation, EntryData):
# repeats=True,
# )

def _set_system_tree_index(
self, system_parent: ModelSystem, tree_index: np.int32 = 0
):
def _set_system_tree_index(self, system_parent: ModelSystem, tree_index: int = 0):
for system_child in system_parent.model_system:
system_child.tree_index = tree_index + 1
self._set_system_tree_index(system_child, tree_index + 1)
Expand Down
4 changes: 4 additions & 0 deletions tests/test_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ def run_parsing(parser_class, filepath):
archive = EntryArchive(metadata=EntryMetadata())
parser_class().parse(filepath, archive, LOGGER)
return archive


def test_dummy():
assert True

0 comments on commit 3beef28

Please sign in to comment.