Giter VIP home page Giter VIP logo

Comments (6)

hariszaf avatar hariszaf commented on July 19, 2024

We could build a .sh script that will be in the end of the Dockerfile that will run commands such as
swarm --version and keep that in a file that would be part of the image.
This way when we have an updated version, this will be automatically be updated.

from pema.

hariszaf avatar hariszaf commented on July 19, 2024

Since pema:v.2.1.4 the user may find 2 files when running a pema container,
pema_environment.tsv and pema_R_packages.tsv describing the issues mentioned.
In addition, there is also the encapsulated_software.md file under the help_files directory with a snapshot of the software at pema:v.2.1.4.

from pema.

cpavloud avatar cpavloud commented on July 19, 2024

Opening again the issue...!

Could we have something like a "run id"? So that the user can separate different runs using the same data but with different parameters?

Or something like a date, time and information on where PEMA is running, i.e. on which cluster?

I am thinking that it cannot be done automatically.
But could it be added by the user perhaps? As an extra, non-meaningful, non-software related, parameter?

from pema.

hariszaf avatar hariszaf commented on July 19, 2024

The easiest thing to do would be to add a uuid.
This way you could have on the copy of the parameters.tsv file that is
produced by pema and is saved on the output directory,
something like that:

run_id c87d8885-95e8-4cc2-8f33-48dda0cc4467

To do so, you just use the following bash command:
uuid=$(uuidgen)

In addition, you could also have something based on the date and time,
for example:

10:22--01-12-2022

Again, to do this would be a single bash command:
date +'%I:%M--%m-%d-%Y'

Tell me if you like something like that and I ll try to build an image as soon as possible.

from pema.

cpavloud avatar cpavloud commented on July 19, 2024

That's great!

from pema.

hariszaf avatar hariszaf commented on July 19, 2024

This has been moved to issue #35.

from pema.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.