File tree 5 files changed +12
-5
lines changed
5 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 2
2
Changelog
3
3
=========
4
4
5
+ (Development) Version 1.1.3
6
+ ===========================
7
+ - Lock pandas to 2.1.4 or later
8
+
5
9
Version 1.1.2
6
10
=============
7
11
- Update zenodo metadata for JOSS
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ flatten_dict
4
4
Jinja2 < 3.1
5
5
networkx
6
6
openpyxl
7
- pandas >= 1.1 , < 2.1
7
+ pandas >= 2.1.4
8
8
pydantic >= 2
9
9
pydot
10
10
pyyaml
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ install_requires =
47
47
xlrd
48
48
pyyaml
49
49
pydot
50
- pandas>=1.1,< 2.1
50
+ pandas>=2.1.4
51
51
Amply>=0.1.6
52
52
networkx
53
53
flatten_dict
Original file line number Diff line number Diff line change @@ -341,8 +341,11 @@ def _expand_defaults(
341
341
df_default ["VALUE" ] = default_values [name ]
342
342
343
343
# combine result and default value dataframe
344
- df = pd .concat ([data , df_default ])
345
- df = df [~ df .index .duplicated (keep = "first" )]
344
+ if not data .empty :
345
+ df = pd .concat ([data , df_default ])
346
+ df = df [~ df .index .duplicated (keep = "first" )]
347
+ else :
348
+ df = df_default
346
349
df = df .sort_index ()
347
350
output [name ] = df
348
351
Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ def result_data(region):
265
265
input_data_single_index_empty (region ),
266
266
]
267
267
parameter_test_data_ids = [
268
- "multi_index_no_defaluts " ,
268
+ "multi_index_no_defaults " ,
269
269
"multi_index" ,
270
270
"multi_index_empty" ,
271
271
"single_index" ,
You can’t perform that action at this time.
0 commit comments