Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ function onClickLocation(location: any) {
}

const shortExpName = computed<string>(() => {
if (datasetSelectionStore.currentExperimentMetadata?.name) {
return datasetSelectionStore.currentExperimentMetadata.name;
}
let shortName = datasetSelectionTrrackedStore.currentExperimentFilename;
if (shortName === null) return '';
shortName = shortName.split('.')[0];
Expand Down Expand Up @@ -99,7 +102,9 @@ function onSelectExperiment() {
}
"
:dark="globalSettings.darkMode"
><q-item-section>{{ location.id }}</q-item-section></q-item
><q-item-section>{{
location.name ?? location.id
}}</q-item-section></q-item
>
</q-list>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export interface LocationMetadata {
imageDataFilename?: string;
segmentationsFolder?: string;
tags?: Tags;
// name?: string; // user friendly name
name?: string; // user friendly name
// condition?: string; // experimental condition // TODO: - does this need to be an array
// plate?: string;
// well?: string;
Expand Down Expand Up @@ -284,7 +284,7 @@ export const useDatasetSelectionStore = defineStore(
.locationMetadataList) {
if (
datasetSelectionTrrackedStore.selectedLocationIds[
location.id
location.id
]
) {
return location;
Expand Down