Posts

Showing posts from July, 2019

Week 8

Greetings! As mentioned in the previous blog my targets for this week included: Test containerization completely. Add updates to README about containerization. Solve the  issue  of restructuring ModelPolisher. Open PR for the above tasks. Figure out and test queries for getting annotations from ADB. Complete integration of AnnotateDB . I was able to complete most of these tasks, here are the details: CONTAINERISATION:  The ModelPolisher is successfully containerized, and is available here currently. ModelPolisher has been divided into three containers/services, namely - BiGGDB, ADB, Java. The first two services host the respective databases with Postgres as base images, the third service with OpenJDK-11 as the base, is used to run ModelPolisher jar in a container. The containerization of ModelPolisher has been successfully tested by me. The ModelPolisher can now be run simply in two steps: Run `docker-compose up` Polish models using `docker-compose run` command. Mor

Week 7

The last meeting was held on Friday, 5th July. Unfortunately, I was not able to join the meeting due to a family emergency. I would like to thank Thomas for updating me with the discussions in the meeting. Discussion in the meeting (5 July) :  The core of AnnotateDB  is finished and is available as Docker containers. Probably, ModelPolisher will use the database by querying annotatedb as postgres database. AnnotateDB may be used in the future for BiGGID  resolution, and to annotate elements in models. Release versions of ModelPolisher maybe distributed on docker-hub in future. TestCode for current code of BiGGID resolution: Can set up a small DB instance, and fill it with the subset of data necessary from BiGG to query against, i.e. feed the data into the database in the test setup code (BeforeClass), test your code, remove them again in the tear-down phase (AfterClass). Some script creating the database might be necessary here. We can use a small model containing only some s

Week 6

Greetings! This blog details work done from 1st to 5th July, and issues to be addressed in next meeting. Progress this Week The issues in focus were: ModelPolisher updated to openjdk-11. Containerisation:  I tried to build a container for ModelPolisher which contains ModelPolisher jar, openjdk-11, postgreSQL, BiGG db(restored in potgreSQL). I was earlier trying to build docker image using docker-file, but I came across docker-commit, in which I made all the required changes in a ubuntu base image and committed the image to form a new one. This completely worked, this was a quick way but not good for shipping images. It will also cause the image's size to be very large and making a change in image would be much problematic in future. After trying these possibilities, I plan to write a docker-file to containerise docker by this weekend. Also. note that the image will be interactive and user will be able to give inputs and get outputs by mounting volume to the container.