Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit e3bee5a

Browse files
iomaganarispramodk
authored andcommitted
Removed warning for absence of default config file with name "config" (#135)
- No default configuration file needed with the exact name "config"
1 parent 60e265d commit e3bee5a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

coreneuron/nrniv/nrnoptarg.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,6 @@ int nrnopt_parse(int argc, const char* argv[]) {
160160
}
161161
}
162162

163-
// last the default config file
164-
std::string cfg("config");
165-
if (!opt->importFile(cfg.c_str(), '#')) {
166-
if (nrnmpi_myid == 0)
167-
std::cerr << "Info: No default arguments file provided: " << cfg << std::endl;
168-
} else {
169-
if (nrnmpi_myid == 0)
170-
std::cout << "Read default configuration file: " << cfg << std::endl;
171-
}
172-
173163
std::string usage;
174164
std::vector<std::string> badOptions;
175165

0 commit comments

Comments
 (0)