labdata 0.0.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- labdata/__init__.py +17 -0
- labdata/cli.py +499 -0
- labdata/compute/__init__.py +27 -0
- labdata/compute/ec2.py +198 -0
- labdata/compute/ephys.py +469 -0
- labdata/compute/pose.py +281 -0
- labdata/compute/schedulers.py +194 -0
- labdata/compute/singularity.py +95 -0
- labdata/compute/utils.py +561 -0
- labdata/copy.py +351 -0
- labdata/rules/__init__.py +78 -0
- labdata/rules/ephys.py +188 -0
- labdata/rules/imaging.py +618 -0
- labdata/rules/utils.py +290 -0
- labdata/s3.py +317 -0
- labdata/schema/__init__.py +24 -0
- labdata/schema/ephys.py +547 -0
- labdata/schema/general.py +647 -0
- labdata/schema/histology.py +309 -0
- labdata/schema/onephoton.py +93 -0
- labdata/schema/procedures.py +102 -0
- labdata/schema/tasks.py +66 -0
- labdata/schema/twophoton.py +142 -0
- labdata/schema/utils.py +25 -0
- labdata/schema/video.py +243 -0
- labdata/stacks.py +182 -0
- labdata/utils.py +598 -0
- labdata/widgets.py +412 -0
- labdata-0.0.3.dist-info/METADATA +42 -0
- labdata-0.0.3.dist-info/RECORD +36 -0
- labdata-0.0.3.dist-info/WHEEL +5 -0
- labdata-0.0.3.dist-info/entry_points.txt +2 -0
- labdata-0.0.3.dist-info/licenses/LICENSE +674 -0
- labdata-0.0.3.dist-info/top_level.txt +2 -0
- labdata_frontend/Home.py +39 -0
- labdata_frontend/__init__.py +0 -0
labdata_frontend/Home.py
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import streamlit as st
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
from labdata.schema import *
|
|
4
|
+
from labdata.utils import prefs
|
|
5
|
+
|
|
6
|
+
st.set_page_config(
|
|
7
|
+
page_title="LabData",
|
|
8
|
+
page_icon="🧪",
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
st.write('# Welcome to LabData! 🧪')
|
|
12
|
+
# TODO: if we want to preserve user upload privleges, get user and pw and create new connection
|
|
13
|
+
#st.write(f'## Please enter your database credentials for:')
|
|
14
|
+
# TODO: check connection first?
|
|
15
|
+
db_name = prefs['database']['database.host']
|
|
16
|
+
st.write('## Sucessfully connected to:')
|
|
17
|
+
st.markdown(f'`{db_name}`')
|
|
18
|
+
#animal = st.selectbox('empty', ['a','b','c'], label_visibility='collapsed')
|
|
19
|
+
|
|
20
|
+
st.sidebar.success('Select a page to view.')
|
|
21
|
+
|
|
22
|
+
st.markdown("""
|
|
23
|
+
|
|
24
|
+
### Usage
|
|
25
|
+
|
|
26
|
+
### Availible Pages
|
|
27
|
+
|
|
28
|
+
- Page 1
|
|
29
|
+
- Page 1
|
|
30
|
+
- Page 1
|
|
31
|
+
|
|
32
|
+
### Questions or Bugs?
|
|
33
|
+
|
|
34
|
+
GitHub issue link
|
|
35
|
+
|
|
36
|
+
#### Authors
|
|
37
|
+
Joao Couto and Max Melin
|
|
38
|
+
"""
|
|
39
|
+
)
|
|
File without changes
|