Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
platy-browser-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kimberly Isobel Meechan
platy-browser-data
Commits
dcb8d23d
Commit
dcb8d23d
authored
5 years ago
by
Constantin Pape
Browse files
Options
Downloads
Patches
Plain Diff
Add conda env file
parent
18a4b9a1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
environment.yaml
+2
-0
2 additions, 0 deletions
environment.yaml
master.py
+9
-4
9 additions, 4 deletions
master.py
with
11 additions
and
4 deletions
environment.yaml
+
2
−
0
View file @
dcb8d23d
...
...
@@ -4,9 +4,11 @@ channels:
-
cpape
-
conda-forge
dependencies
:
-
affogato
-
scikit-image
-
luigi
-
nifty
-
vigra
-
h5py
-
z5py
-
cluster_tools
This diff is collapsed.
Click to expand it.
master.py
+
9
−
4
View file @
dcb8d23d
...
...
@@ -17,8 +17,10 @@ def get_tags():
# TODO do we need more sub-folders ?
def
make_folder_structure
(
tag
):
new_tables_folder
=
os
.
path
.
join
(
'
data
'
,
tag
,
'
tables
'
)
new_folder
=
os
.
makedirs
(
'
data
'
,
tag
)
new_tables_folder
=
os
.
path
.
join
(
new_folder
,
'
tables
'
)
os
.
makedirs
(
new_tables_folder
)
return
new_folder
# TODO
...
...
@@ -40,13 +42,15 @@ def make_attributes(input_path, input_key, output_path):
# TODO check for errors
def
make_release
(
tag
):
call
([
'
git
'
,
'
commit
'
,
'
-m
'
,
'
Automatic
e
platybrowser
data
update
'
])
call
([
'
git
'
,
'
commit
'
,
'
-m
'
,
'
Automatic platybrowser update
'
])
call
([
'
git
'
,
'
tag
'
,
tag
])
# TODO autopush ???
# call(['git', 'push', 'origin', '--tags'])
# call(['git', 'push', 'origin',
'master',
'--tags'])
# TODO catch all exceptions and re-roll if exception was caught
# TODO what arguments do we expose
# TODO need to deal with different kinds of segmentations
def
master
():
"""
Generate new version of platy-browser derived data.
...
...
@@ -59,7 +63,8 @@ def master():
tag
,
new_tag
=
get_tags
()
# make new folder structure
make_folder_structure
(
new_tag
)
folder
=
os
.
path
.
join
(
'
data
'
,
tag
)
new_folder
=
make_folder_structure
(
new_tag
)
# TODO
# Need to check if we actually need to export the new segmentation
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment