Skip to content

Commit

Permalink
Removed default transcoding for lif czi files
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunrajlab committed Dec 8, 2023
1 parent b54d65b commit 58c3657
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/views/dataset/MultiSourceConfiguration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,11 @@ export default class MultiSourceConfiguration extends Vue {
// Get info from filename
const names = items.map(item => item.name);
// Enbale transcoding by default except for ND2 files
this.transcode = !names.every(name => name.toLowerCase().endsWith("nd2"));
// Enbale transcoding by default except for ND2 (Nikon), czi (Zeiss), and lif (Leica) files
this.transcode = !names.every(name =>
[".nd2", ".czi", ".lif"].some(ext => name.toLowerCase().endsWith(ext))
);
// Add variables from filenames if there is more than one file
if (names.length > 1) {
Expand Down

0 comments on commit 58c3657

Please sign in to comment.