Skip to content

Commit

Permalink
final edits
Browse files Browse the repository at this point in the history
  • Loading branch information
mandd committed Jun 2, 2023
1 parent d52231b commit 851e8df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"""

import os
from . import melcorTools
from ...contrib.melcorTools import melcorTools
from ravenframework.CodeInterfaceBaseClass import CodeInterfaceBase
from ..Generic import GenericParser
import pandas as pd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Last update on October 14, 2022
@authors:
Matteo D'Onorio (University of Rome La Sapienza)
Paolo Balestra (University of Rome La Sapienza)
Paolo Balestra (University of Rome La Sapienza)
"""
# ===============================================================================
def MCRBin(fileDir, VarSrch):
Expand Down Expand Up @@ -59,13 +59,13 @@ def MCRBin(fileDir, VarSrch):
for k in range(0,len(VarNam)):
itm_x_Var.append(VarPos[k+1]-VarPos[k])
if len(itm_x_Var) != len(VarNam):
print("Number of variables different from number of items of offset array")
print("MelcorTools: Number of variables different from number of items of offset array")
print(itm_x_Var)
print(len(VarNam))
break
Items_Tot = sum(itm_x_Var)
if Items_Tot != len(VarNum):
print("Somma degli item da associare ad ogni variabile è diversa dalla somma di tutti gli items id VarNum")
print("MelcorTools: The Sum of the items to be associated with each variable is different from the sum of all items id VarNum")
VarNum_Cntr =0
Var_dict = {}
for i,Var in enumerate(VarNam):
Expand Down

0 comments on commit 851e8df

Please sign in to comment.