Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Remove ecl version when writing jobs.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInFez committed Feb 27, 2020
1 parent 0033ee6 commit db9b0c9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions lib/job_queue/forward_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,6 @@ static void forward_model_json_fprintf(const forward_model_type * forward_model,
}
fprintf(stream, "],\n");

fprintf(stream, "\n\"ert_version\" : [%d, %d, \"%s\"],\n",
ecl_version_get_major_version(),
ecl_version_get_minor_version(),
ecl_version_get_micro_version());

fprintf(stream, "\"run_id\" : \"%s\",\n", run_id);
fprintf(stream, "\"ert_pid\" : \"%ld\"\n", (long)getpid()); //Long is big enough to hold __pid_t
fprintf(stream, "}\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,6 @@ def verify_json_dump(self, selected_jobs, global_args, umask, run_id):
self.assertEqual(umask, int(config["umask"], 8))
self.assertEqual(len(selected_jobs), len(config["jobList"]))

ert_version = config["ert_version"]
loaded_version = Version(ert_version[0], ert_version[1], ert_version[2])
self.assertEqual(EclVersion(), loaded_version)

for i in range(len(selected_jobs)):
job = joblist[selected_jobs[i]]
loaded_job = config["jobList"][i]
Expand Down

0 comments on commit db9b0c9

Please sign in to comment.