Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
BOXMOX Python Package
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
MBEES
BOXMOX Python Package
Commits
dc70fd1e
Commit
dc70fd1e
authored
3 years ago
by
Christoph Knote
Browse files
Options
Downloads
Patches
Plain Diff
Moving to poetry
parent
39fa9b51
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
MANIFEST.in
+0
-6
0 additions, 6 deletions
MANIFEST.in
pyproject.toml
+42
-4
42 additions, 4 deletions
pyproject.toml
src/boxmox/experiment.py
+3
-4
3 additions, 4 deletions
src/boxmox/experiment.py
with
45 additions
and
14 deletions
MANIFEST.in
deleted
100644 → 0
+
0
−
6
View file @
39fa9b51
exclude src/boxmox/_site_specific.py
recursive-include examples *
include CHANGES.md
include INSTALL.md
include README.md
include LICENSE.txt
This diff is collapsed.
Click to expand it.
pyproject.toml
+
42
−
4
View file @
dc70fd1e
[build-system]
requires
=
[
"numpy"
,
"f90nml"
,
"pyparsing"
,
"setuptools"
[tool.poetry]
name
=
"boxmox"
version
=
"1.2.0"
description
=
"BOXMOX python interface"
license
=
"GPL-3.0-or-later"
authors
=
[
"Christoph Knote <christoph.knote@med.uni-augsburg.de>"
]
readme
=
"README.md"
homepage
=
"https://mbees.med.uni-augsburg.de/"
repository
=
"https://mbees.med.uni-augsburg.de/gitlab/mbees/boxmox_pypackage"
classifiers
=
[
"Programming Language :: Python :: 3"
"Development Status :: 5 - Production/Stable"
"Environment :: Console"
"Intended Audience :: Developers"
"Intended Audience :: Education"
"Intended Audience :: End Users/Desktop"
"Intended Audience :: Science/Research"
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
"Operating System :: POSIX"
"Topic :: Education"
"Topic :: Scientific/Engineering"
"Topic :: Utilities"
]
packages
=
[
{
include
=
"boxmox"
,
from
=
"src"
}
,
]
build-backend
=
"setuptools.build_meta"
[tool.poetry.urls]
issues
=
"http://mbees.med.uni-augsburg.de/gitlab/mbees/boxmox_pypackage/issues"
[tool.poetry.dependencies]
python
=
"^3.10"
numpy
=
">
=
1.2
"
f90nml
=
">
=
1.3
"
pyparsing
=
">
=
3
"
[tool.poetry.dev-dependencies]
pytest
=
"^5.2"
[build-system]
requires
=
["poetry-core>
=
1.0
.
0
"]
build-backend
=
"poetry.core.masonry.api"
This diff is collapsed.
Click to expand it.
src/boxmox/experiment.py
+
3
−
4
View file @
dc70fd1e
...
...
@@ -16,8 +16,7 @@ except:
pass
from
.
import
FluxParser
work_path
=
_installation
.
validate
()
workPath
=
os
.
environ
[
'
BOXMOX_WORK_PATH
'
]
examplesPath
=
os
.
path
.
join
(
os
.
environ
[
'
KPP_HOME
'
],
"
case_studies
"
)
class
ExampleData
:
...
...
@@ -106,7 +105,7 @@ class Experiment:
self
.
mechanism
=
mechanism
#: Absolute file system path of the experiment
self
.
path
=
os
.
path
.
join
(
work
_p
ath
,
self
.
name
)
self
.
path
=
os
.
path
.
join
(
work
P
ath
,
self
.
name
)
#: Input files
self
.
input
=
{}
...
...
@@ -326,7 +325,7 @@ class ExperimentFromExample(Experiment):
self
.
name
=
str
(
uuid
.
uuid4
())
self
.
example
=
example
self
.
path
=
os
.
path
.
join
(
work
_p
ath
,
self
.
name
)
self
.
path
=
os
.
path
.
join
(
work
P
ath
,
self
.
name
)
self
.
log
=
None
...
...
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