Skip to content

Commit

Permalink
projectname used instead of name for project
Browse files Browse the repository at this point in the history
  • Loading branch information
mpecchi committed May 12, 2024
1 parent 0f0f4a7 commit 98f5947
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gcms_data_analysis/gcms.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Project:
def __init__(
self,
folder_path: plib.Path | str,
name: str | None = None,
projectname: str | None = None,
use_semi_calibration: bool = True,
tanimoto_similarity_threshold: float = 0.4,
delta_mol_weight_threshold: int = 100,
Expand All @@ -80,10 +80,10 @@ def __init__(
):
self.folder_path = plib.Path(folder_path)
self.out_path = plib.Path(self.folder_path, "output")
if name is None:
self.name = self.folder_path.parts[-1]
if projectname is None:
self.projectname = self.folder_path.parts[-1]
else:
self.name = name
self.projectname = projectname
self.use_semi_calibration = use_semi_calibration
self.tanimoto_similarity_threshold = tanimoto_similarity_threshold
self.delta_mol_weight_threshold = delta_mol_weight_threshold
Expand Down

0 comments on commit 98f5947

Please sign in to comment.