Skip to content

Commit

Permalink
Merge pull request #134 from labsyspharm/gatingupload_form
Browse files Browse the repository at this point in the history
commit
  • Loading branch information
nchuynh authored Mar 6, 2024
2 parents 53ce893 + 2a43de4 commit 5adcb81
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions minerva_analysis/client/dist/vendor_bundle.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions minerva_analysis/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions minerva_analysis/client/templates/upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<div id="custom_import" style="display: inline;">
<div class="row">
<div class="col-3">
<label for="channel_file">Channel File Path:</label>
<label for="channel_file">Image File Path:</label>
</div>
<div class="col-9">
<input type="text" id="channel_file" class="form-control" name="channel_file" onkeyup="checkFileExistence(this)" required>
Expand All @@ -57,7 +57,7 @@
</div>
<div class="row">
<div class="col-3">
<label for="csv_file">CSV File Path:</label>
<label for="csv_file">Quantification File CSV:</label>
</div>
<div class="col-9">
{# <input type="file" id="csv_file" name="csv_file" required>#}
Expand Down
2 changes: 1 addition & 1 deletion minerva_analysis/server/routes/import_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def check_mc_channel_file_existence():
mcmicroDirName = pathsSplit[len(pathsSplit) - 1]

# check if channel file exists
channelFile = Path(directory, 'registration', mcmicroDirName + '.ome.tif')
channelFile = Path(directory, 'registration', mcmicroDirName + '.ome.tif') or Path(directory, 'registration', mcmicroDirName + '.ome.tiff')

if channelFile.is_file():
return serialize_and_submit_json(True)
Expand Down

0 comments on commit 5adcb81

Please sign in to comment.