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
2 changes: 1 addition & 1 deletion swanlab/server/api/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async def summaries(experiment_names: str):
tags = [f for f in os.listdir(experiment_path) if os.path.isdir(os.path.join(experiment_path, f))]
experiment_summaries = {}
for tag in tags:
if not tag in column:
if not unquote(tag) in column:
column.append(unquote(tag))
tag_path = os.path.join(experiment_path, tag)
logs = sorted([item for item in os.listdir(tag_path) if item != "_summary.json"])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
<!-- 实验标题 -->
<div class="flex items-center">
<span class="text-2xl font-semibold text-default pr-4">{{ experiment.name }}</span>
<SLCopy :text="experiment.name" icon-class="w-5 h-5 text-dimmest cursor-pointer hover:text-dimmer mr-3" />
<!-- <SLCopy :text="experiment.name" icon-class="w-5 h-5 text-dimmest cursor-pointer hover:text-dimmer mr-3" /> -->
<!-- <SLIcon icon="setting" class="icon" /> -->
</div>
<!-- 实验描述 -->
<div class="flex items-center pt-5" v-if="experiment?.description">
<span>{{ experiment.description }}</span>
<SLCopy
<!-- <SLCopy
:text="experiment.description"
icon-class="w-5 h-5 text-dimmest cursor-pointer hover:text-dimmer ml-4 mr-3"
/>
/> -->
<!-- <SLIcon icon="setting" class="icon" /> -->
</div>
<!-- 实验信息 -->
Expand All @@ -24,7 +24,7 @@
<div class="min-w-[150px]">{{ $t(`experiment.index.header.experiment_infos.status`) }}</div>
<SLStatusLabel :name="experiment.name" :id="experiment.id" :status="experiment.status" />
<!-- 停止按钮 -->
<StopButton />
<!-- <StopButton /> -->
</div>
<div v-for="item in experiment_infos" :key="item.title">
<div class="flex pb-4" v-if="item.value">
Expand Down