Skip to content

Commit

Permalink
"bug fixing, code cleaning and quality-of-life improvements"
Browse files Browse the repository at this point in the history
  • Loading branch information
MABeeskow committed Jul 2, 2024
1 parent ef9189e commit 219a2af
Show file tree
Hide file tree
Showing 6 changed files with 30,154 additions and 50 deletions.
30,181 changes: 30,138 additions & 43 deletions notebooks/PySILLS_Tutorial.ipynb

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion pysills/pypitzer/database/lassin_binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Description: This script calculates the average of a list of numbers.
# Version: 1.0
# Last Modified: May 7, 2023
# Modified by Maximilian Beeskow: July 2, 2024

import pandas as pd

Expand Down Expand Up @@ -225,8 +226,10 @@

index = pd.MultiIndex.from_tuples([('pr1', 'pr2', 'pr3')], names=["parameter", "species1", "species2"])
df = pd.DataFrame(columns=['a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'a8'], index=index)

for key, value in species.items():
df.sort_index(inplace=True, na_position="first")
df.loc[key, :] = pd.Series(value)
df.sort_index()
#df.sort_index()

lassin_binary = df
5 changes: 4 additions & 1 deletion pysills/pypitzer/database/marion_binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Description: This script calculates the average of a list of numbers.
# Version: 1.0
# Last Modified: May 7, 2023
# Modified by Maximilian Beeskow: July 2, 2024

import pandas as pd

Expand Down Expand Up @@ -265,9 +266,11 @@

index = pd.MultiIndex.from_tuples([('pr1', 'pr2', 'pr3')], names=["parameter", "species1", "species2"])
df = pd.DataFrame(columns=['a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7'], index=index)

for key, value in species.items():
df.sort_index(inplace=True, na_position="first")
df.loc[key, :] = pd.Series(value)
df.sort_index()
#df.sort_index()

marion_binary = df

5 changes: 4 additions & 1 deletion pysills/pypitzer/database/spencer_revised_binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Description: This script calculates the average of a list of numbers.
# Version: 1.0
# Last Modified: May 7, 2023
# Modified by Maximilian Beeskow: July 2, 2024

import pandas as pd

Expand Down Expand Up @@ -541,8 +542,10 @@

index = pd.MultiIndex.from_tuples([('pr1', 'pr2', 'pr3')], names=["parameter", "species1", "species2"])
df = pd.DataFrame(columns=['a1', 'a2', 'a3', 'a4', 'a5', 'a6'], index=index)

for key, value in species.items():
df.sort_index(inplace=True, na_position="first")
df.loc[key, :] = pd.Series(value)
df.sort_index()
#df.sort_index()

spencer_binary = df
6 changes: 3 additions & 3 deletions pysills/pysills_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

# Name: pysills_app.py
# Author: Maximilian A. Beeskow
# Version: v1.0.5
# Date: 28.06.2024
# Version: v1.0.7
# Date: 02.07.2024

# -----------------------------------------------------------------------------------------------------------------------

Expand Down Expand Up @@ -73,7 +73,7 @@ def __init__(self, parent, var_screen_width, var_screen_height, var_path=None):
# val_version = subprocess.check_output(['git', 'log', '-n', '1', '--pretty=tformat:%h']).strip()
# self.val_version = val_version.decode("utf-8")
#self.val_version = ''.join(rd.choice(string.ascii_letters) for i in range(8))
self.val_version = "1.0.6 - 28.06.2024"
self.val_version = "1.0.7 - 02.07.2024"

## Colors
self.green_dark = "#282D28"
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 @@

setup(
name="PySILLS",
version="1.0.6",
version="1.0.7",
packages=find_packages(),
url="https://github.com/MABeeskow/PySILLS",
license="LGPL-3.0",
Expand Down

0 comments on commit 219a2af

Please sign in to comment.