Skip to content

Commit cd28956

Browse files
authored
Merge pull request #62 from daichengxin/dev
Dev
2 parents 742695d + af8aa49 commit cd28956

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

quantmsutils/diann/dianncfg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def get_mod(mod, mod_type):
128128
def convert_mod(fix_mod: str, var_mod: str) -> Tuple[List, List]:
129129
var_ptm = []
130130
fix_ptm = []
131-
if fix_mod != "":
131+
if fix_mod:
132132
merged = defaultdict(list)
133133
for mod in fix_mod.split(","):
134134
diann_mod, site = get_mod(mod, "fixed_mod")
@@ -139,7 +139,7 @@ def convert_mod(fix_mod: str, var_mod: str) -> Tuple[List, List]:
139139
site_str = "".join(sorted(set(site_list)))
140140
fix_ptm.append(f"{name},{site_str}")
141141

142-
if var_mod != "":
142+
if var_mod:
143143
merged = defaultdict(list)
144144
for mod in var_mod.split(","):
145145
diann_mod, site = get_mod(mod, "var_mod")

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
click
22
sdrf-pipelines==0.0.33
3-
pyopenms>=3.2.0
3+
pyopenms>=3.3.0
44
pandas
55
pyarrow>=16.1.0
66
scipy

0 commit comments

Comments
 (0)