Browse Source

properties.cpp: Log filename of properties file in --verbose mode

tempestpy_adaptions
Joachim Klein 7 years ago
committed by Christian Hensel
parent
commit
04a1bbedfc
  1. 1
      src/storm/api/properties.cpp

1
src/storm/api/properties.cpp

@ -27,6 +27,7 @@ namespace storm {
// If the given property is a file, we parse it as a file, otherwise we assume it's a property. // If the given property is a file, we parse it as a file, otherwise we assume it's a property.
std::vector<storm::jani::Property> properties; std::vector<storm::jani::Property> properties;
if (std::ifstream(inputString).good()) { if (std::ifstream(inputString).good()) {
STORM_LOG_INFO("Loading properties from file: " << inputString << std::endl);
properties = formulaParser.parseFromFile(inputString); properties = formulaParser.parseFromFile(inputString);
} else { } else {
properties = formulaParser.parseFromString(inputString); properties = formulaParser.parseFromString(inputString);

Loading…
Cancel
Save