Skip to content

Commit

Permalink
fmk - fixing examples 1 and 2 input.json for performance & commenting…
Browse files Browse the repository at this point in the history
… out two qDebug() << line_list lines from PelicunComponentContainer
  • Loading branch information
fmckenna committed Oct 10, 2023
1 parent 9ae5b3e commit 21d4961
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Examples/pbdl-0001/src/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
}
},
"Performance": {
"Application": "None",
"ApplicationData": {
"Application": "None",
"ApplicationData": {
}
}
Expand Down
7 changes: 7 additions & 0 deletions Examples/pbdl-0002/src/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
"ApplicationData": {
}
},
"Performance": {
"Application": "None",
"ApplicationData": {
"ApplicationData": {
}
}
},
"Simulation": {
"Application": "OpenSees-Simulation",
"ApplicationData": {
Expand Down
4 changes: 2 additions & 2 deletions LossModel/PelicunComponentContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ PelicunComponentContainer::loadComponentAssignment(QString filePath) {

QString compName = line_list[0];
if (compName == "ID") {
qDebug() << line_list;
// qDebug() << line_list;

//if (line_list[line_list.count()-1] == "Comment") {
// hasComment = true;
Expand Down Expand Up @@ -1712,7 +1712,7 @@ PelicunComponentContainer::loadComponentAssignment(QString filePath) {
QMap<QString, QString> *CG_data = new QMap<QString, QString>;
vCG_data->append(CG_data);

qDebug() << line_list;
// qDebug() << line_list;

if (line_list.count() >= 6) {
// fill the CG_data dict with the info from the given row in the file
Expand Down

0 comments on commit 21d4961

Please sign in to comment.