Skip to content

Commit

Permalink
index to zero rather than none
Browse files Browse the repository at this point in the history
  • Loading branch information
andped10 committed Nov 5, 2024
1 parent b03455e commit 3965023
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/easyreflectometry/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ def __init__(self):
self._q_min: float = None
self._q_max: float = None
self._q_resolution: int = None
self._current_material_index: int = None
self._current_model_index: int = None
self._current_assembly_index: int = None
self._current_layer_index: int = None
self._current_material_index = 0
self._current_model_index = 0
self._current_assembly_index = 0
self._current_layer_index = 0

# Project flags
self._created = False
Expand Down

0 comments on commit 3965023

Please sign in to comment.