Skip to content

Commit 6ff17b7

Browse files
committed
minor bugs
1 parent 5ce3250 commit 6ff17b7

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

code/Home.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ def add_main_tabs():
692692
st.markdown("#### Select auto training curriculums")
693693

694694
# Curriculum drop down selector
695-
cols = st.columns([0.8, 0.5, 0.8, 4])
695+
cols = st.columns([0.8, 0.8, 0.8, 3])
696696
cols[3].markdown(f"(aind_auto_train lib version = {auto_train_version})")
697697

698698
options = list(df_curriculums['curriculum_name'].unique())

code/util/plot_autotrain_manager.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ def plot_manager_all_progress_bokeh(
268268

269269
for subject_id in highlight_subjects:
270270
y = {v: k for k, v in y_subjec_id_mapper.items()}.get(subject_id)
271+
if y is None: continue
271272
rect = Rect(
272273
x=(
273274
(p.x_range.end + p.x_range.start) / 2
@@ -277,8 +278,9 @@ def plot_manager_all_progress_bokeh(
277278
width=p.x_range.end - p.x_range.start,
278279
y=y,
279280
height=1,
280-
fill_color="gray",
281-
fill_alpha=0.2,
281+
fill_color="blue",
282+
fill_alpha=0.1,
283+
line_width=0,
282284
)
283285
p.add_glyph(rect)
284286

code/util/url_query_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
"auto_training_history_x_axis": "date",
5656
"auto_training_history_sort_by": "first_date",
5757
"auto_training_history_sort_order": "descending",
58-
"auto_training_curriculum_name": "Uncoupled Baiting",
59-
"auto_training_curriculum_version": "1.0",
58+
"auto_training_curriculum_name": "Uncoupled Without Baiting",
59+
"auto_training_curriculum_version": "2.3rwdDelay159",
6060
"auto_training_curriculum_schema_version": "1.0",
6161
"auto_training_history_recent_months": 2,
6262

0 commit comments

Comments
 (0)