Skip to content

Commit

Permalink
upd: update label in image for multiple nmr (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
baolanlequang authored Aug 19, 2024
1 parent 3cf1088 commit 12bff6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions chem_spectra/model/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,9 @@ def tf_combine(self, list_file_names=None, extraParams=None):
if (idx == len(self.multiple_files) - 1):
xlabel = ', '.join(xlabel_set)
ylabel = ', '.join(ylabel_set)
elif (nicp.core.non_nmr == False):
xlabel = "Chemical shift ({})".format(core_label_x.lower())
ylabel = "Intensity ({})".format(core_label_y.lower())
else:
xlabel = "X ({})".format(core_label_x)
ylabel = "Y ({})".format(core_label_y)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='chem-spectra-app',
version='1.2.3',
version='1.2.4',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
Expand Down

0 comments on commit 12bff6f

Please sign in to comment.