Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TaggingBackends
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Nyx
TaggingBackends
Commits
d6492aa1
Commit
d6492aa1
authored
2 years ago
by
François LAURENT
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' into main
parents
98e3ed82
d2bec3fc
No related branches found
No related tags found
No related merge requests found
Pipeline
#97984
passed
2 years ago
Stage: test
Changes
5
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
Manifest.toml
+2
-2
2 additions, 2 deletions
Manifest.toml
Project.toml
+1
-1
1 addition, 1 deletion
Project.toml
README.md
+1
-1
1 addition, 1 deletion
README.md
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
src/LarvaDatasets.jl
+3
-0
3 additions, 0 deletions
src/LarvaDatasets.jl
with
8 additions
and
5 deletions
Manifest.toml
+
2
−
2
View file @
d6492aa1
...
@@ -310,11 +310,11 @@ version = "1.8.0"
...
@@ -310,11 +310,11 @@ version = "1.8.0"
[[deps.PlanarLarvae]]
[[deps.PlanarLarvae]]
deps
=
[
"DelimitedFiles"
,
"HDF5"
,
"JSON3"
,
"LinearAlgebra"
,
"MAT"
,
"Meshes"
,
"OrderedCollections"
,
"SHA"
,
"StaticArrays"
,
"Statistics"
,
"StatsBase"
,
"StructTypes"
]
deps
=
[
"DelimitedFiles"
,
"HDF5"
,
"JSON3"
,
"LinearAlgebra"
,
"MAT"
,
"Meshes"
,
"OrderedCollections"
,
"SHA"
,
"StaticArrays"
,
"Statistics"
,
"StatsBase"
,
"StructTypes"
]
git-tree-sha1
=
"
f7e528d2ecb7b6ef13aab96fade5b4d0a4c64767
"
git-tree-sha1
=
"
a5226fa20f6f563a82968a0c4714f3a568b3658d
"
repo-rev
=
"main"
repo-rev
=
"main"
repo-url
=
"https://gitlab.pasteur.fr/nyx/planarlarvae.jl"
repo-url
=
"https://gitlab.pasteur.fr/nyx/planarlarvae.jl"
uuid
=
"c2615984-ef14-4d40-b148-916c85b43307"
uuid
=
"c2615984-ef14-4d40-b148-916c85b43307"
version
=
"0.9.
0
"
version
=
"0.9.
1
"
[[deps.Preferences]]
[[deps.Preferences]]
deps
=
[
"TOML"
]
deps
=
[
"TOML"
]
...
...
This diff is collapsed.
Click to expand it.
Project.toml
+
1
−
1
View file @
d6492aa1
name
=
"TaggingBackends"
name
=
"TaggingBackends"
uuid
=
"e551f703-3b82-4335-b341-d497b48d519b"
uuid
=
"e551f703-3b82-4335-b341-d497b48d519b"
authors
=
[
"François Laurent"
,
"Institut Pasteur"
]
authors
=
[
"François Laurent"
,
"Institut Pasteur"
]
version
=
"0.11.
0
"
version
=
"0.11.
1
"
[deps]
[deps]
Dates
=
"ade2ca70-3891-5945-98fb-dc099432e06a"
Dates
=
"ade2ca70-3891-5945-98fb-dc099432e06a"
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
d6492aa1
...
@@ -171,7 +171,7 @@ Note also that, with the above `export` expression, the `JULIA_PROJECT` environm
...
@@ -171,7 +171,7 @@ Note also that, with the above `export` expression, the `JULIA_PROJECT` environm
To install a backend, taking MaggotUBA-adapter as an example:
To install a backend, taking MaggotUBA-adapter as an example:
```
```
git clone --depth 1 --single-branch -b 202301
11
https://gitlab.pasteur.fr/nyx/MaggotUBA-adapter MaggotUBA
git clone --depth 1 --single-branch -b 202301
29
https://gitlab.pasteur.fr/nyx/MaggotUBA-adapter MaggotUBA
cd MaggotUBA
cd MaggotUBA
poetry install
poetry install
```
```
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
d6492aa1
[tool.poetry]
[tool.poetry]
name
=
"TaggingBackends"
name
=
"TaggingBackends"
version
=
"0.11"
version
=
"0.11
.1
"
description
=
"Backbone for LarvaTagger.jl tagging backends"
description
=
"Backbone for LarvaTagger.jl tagging backends"
authors
=
[
"François Laurent"
]
authors
=
[
"François Laurent"
]
...
...
This diff is collapsed.
Click to expand it.
src/LarvaDatasets.jl
+
3
−
0
View file @
d6492aa1
...
@@ -336,6 +336,9 @@ function write_larva_dataset_hdf5(path, counts, files, refs, nsteps_before, nste
...
@@ -336,6 +336,9 @@ function write_larva_dataset_hdf5(path, counts, files, refs, nsteps_before, nste
end
end
attributes
(
g
)[
"n_samples"
]
=
sampleid
attributes
(
g
)[
"n_samples"
]
=
sampleid
# extension
# extension
if
!
isnothing
(
includeall
)
delete!
(
counts
,
includeall
)
end
h5
[
"labels"
]
=
collect
(
keys
(
counts
))
h5
[
"labels"
]
=
collect
(
keys
(
counts
))
h5
[
"label_counts"
]
=
collect
(
values
(
counts
))
h5
[
"label_counts"
]
=
collect
(
values
(
counts
))
#h5["files"] = [f.source for f in files]
#h5["files"] = [f.source for f in files]
...
...
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