anna
Advanced tools
| Metadata-Version: 1.1 | ||
| Name: anna | ||
| Version: 0.4 | ||
| Version: 0.4.1 | ||
| Summary: A Neat configuratioN Auxiliary | ||
@@ -5,0 +5,0 @@ Home-page: https://gitlab.com/Dominik1123/Anna |
+4
-3
@@ -9,3 +9,2 @@ from __future__ import annotations | ||
| import numpy as np | ||
| import json | ||
| import pandas as pd | ||
@@ -182,3 +181,3 @@ from anna.adaptors import XMLAdaptor | ||
| self.sweep_instance = sweep_instance | ||
| self.json_file_dict = json.loads(self.sweep_instance.to_json()) | ||
| self.sweep_dict = self.sweep_instance.to_dataframe().applymap(np.asarray).to_dict(orient='index') | ||
| self.meta = meta | ||
@@ -208,4 +207,6 @@ self.constants = constants | ||
| # Create the configuration files for each parameter combination | ||
| for index, (combination_id, combination_info) in enumerate(self.json_file_dict.items()): | ||
| for index, (combination_id, combination_info) in enumerate(self.sweep_dict.items()): | ||
| for key, value in combination_info.items(): | ||
| if isinstance(value, np.ndarray): | ||
| value = value.tolist() | ||
| self.xml_seed.update_text(key, str(value)) | ||
@@ -212,0 +213,0 @@ # Dump into new XML file |
+1
-1
@@ -1,1 +0,1 @@ | ||
| 0.4 | ||
| 0.4.1 |
+1
-1
| Metadata-Version: 1.1 | ||
| Name: anna | ||
| Version: 0.4 | ||
| Version: 0.4.1 | ||
| Summary: A Neat configuratioN Auxiliary | ||
@@ -5,0 +5,0 @@ Home-page: https://gitlab.com/Dominik1123/Anna |
Sorry, the diff of this file is too big to display
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
414511
0.05%8888
0.05%