Skip to content

Commit

Permalink
corrected error message when info from filenames fails
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinesands committed Mar 20, 2024
1 parent 3a75e99 commit bb2c5ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nPYc/objects/_msDataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@ def _getSampleMetadataFromFilename(self, filenameSpec):

# Return failure message if information not able to be inferred for any sample
if (self.sampleMetadata['Sample Base Name'].isnull().values.any()):
raise npycToolboxError('Inferring information from filenames failed for some samples, check and amend `filenameSpec` as appropriate and re-start import')
raise npycToolboxError('Inferring information from filenames failed for some samples, check and amend `filenameSpec` as appropriate and re-run')


def _inferBatches(self, gapLength=24):
Expand Down

0 comments on commit bb2c5ec

Please sign in to comment.