Skip to content

Commit

Permalink
Merge pull request #532 from AntaresSimulatorTeam/dev
Browse files Browse the repository at this point in the history
Fix output parameter reader
  • Loading branch information
pl-buiquang authored Sep 30, 2021
2 parents e5896eb + cdef83f commit 5ab10b4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion antarest/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.0.0"
__version__ = "2.0.1"

from pathlib import Path

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ def parse_simulation(path: Path) -> "Simulation":

@staticmethod
def _parse_outputs_parameters(path: Path) -> Tuple[int, bool, bool]:
par: JSON = IniReader().read(path / "about-the-study/parameters.ini")
par: JSON = MultipleSameKeysIniReader(["+", "-"]).read(
path / "about-the-study/parameters.ini"
)
return (
par["general"]["nbyears"],
par["general"]["year-by-year"],
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="AntaREST",
version="2.0.0",
version="2.0.1",
description="Antares Server",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ sonar.projectKey=AntaresSimulatorTeam_api-iso-antares
sonar.sources=antarest
sonar.language=python
sonar.python.coverage.reportPaths=coverage.xml
sonar.projectVersion=2.0
sonar.projectVersion=2.0.1
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "antares-web",
"version": "2.0.0",
"version": "2.0.1",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.35",
Expand Down
2 changes: 0 additions & 2 deletions webapp/src/components/UserBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import { getUser } from '../services/api/user';
const useStyles = makeStyles((theme: Theme) =>
createStyles({
root: {
width: '160px',
height: '210px',
display: 'flex',
flexDirection: 'column',
},
Expand Down

0 comments on commit 5ab10b4

Please sign in to comment.