Automap creates a temporarily log file during runtime, and this file gets stored in the parent folder of the repo instead of within the repo. That is, it currently works like this:
tools/
├── AutoMap
│ ├── AutoMap_v1.2.sh
│ └── README.md
└── AutoMap.log <--- log file in parent directory of the repo directory
instead of this:
tools/
└── AutoMap
├── .log <--- log file within the repo directory
├── AutoMap_v1.2.sh
└── README.md
This setup especially creates a problem when Automap is run in the docker/singularity container where one is not expected to provide read/write access to the parent directory of the repo. This pull request modifies the current behavior to store the log file as .log inside the repo directory.
Automap creates a temporarily log file during runtime, and this file gets stored in the parent folder of the repo instead of within the repo. That is, it currently works like this:
instead of this:
This setup especially creates a problem when Automap is run in the docker/singularity container where one is not expected to provide read/write access to the parent directory of the repo. This pull request modifies the current behavior to store the log file as
.log
inside the repo directory.