Skip to content

Commit ea7a265

Browse files
committed
second round of pep updates
1 parent fb36ffa commit ea7a265

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

scripts/fuel_transactions.py

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def total_used_fr_fuel(transactions, fuels):
7070

7171
return transactions
7272

73+
7374
def fuel_received(evaler, fuels, receivers):
7475
"""
7576
Creates a DataFrame of the total fuel received by each receiver.

scripts/products.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ def energy_supply(cursor):
2424
# Create an empty dictionary that mirrors the format of
2525
# the PowerSupply table.
2626
energy_supply = {
27-
'id':[],
28-
'time':[],
29-
'energy':[]
27+
'id': [],
28+
'time': [],
29+
'energy': []
3030
}
3131

3232
# Next we will pull the power at each time step for each reactor.

scripts/waste.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@ def isotope_database(evaler, receivers, isotopes, commodities):
130130
"""
131131

132132
isotope_db = transactions_nuc_built_in(
133-
evaler=evaler, receivers=receivers, commodities=commodities, nucs=isotopes)
133+
evaler=evaler,
134+
receivers=receivers,
135+
commodities=commodities,
136+
nucs=isotopes)
134137

135138
# Create the dataframe and populate the columns for each
136139
# isotope with zeros.

0 commit comments

Comments
 (0)