OpenGenus / memes

MIT License
15 stars 15 forks source link

Fix metadata generation directory. #138

Closed srivkrnt closed 5 years ago

srivkrnt commented 5 years ago

In one of the cases for meme_generation service, the metadata and probably the meme is not generated in the correct directory. The metadata and generated meme should be generated in the corresponding directory of the meme.

Steps to reproduce :- openmemes --test=1 --module=generate

teeniv001 commented 5 years ago

@srivkrnt wanted to fix this issue.

srivkrnt commented 5 years ago

@teeniv001 Sure you may work on this. You can discuss things here in case of any confusion.

teeniv001 commented 5 years ago

There is no problem with the metaData directory, it's created along with the corresponding generated meme but the cleanup procedure was failing to clean the metaData after the tests. I have fixed the cleanup procedure with #141

srivkrnt commented 5 years ago

@teeniv001 All right Vineet. Your changes look good. If there is no problem with the metadata generation then maybe one of the modes in the generation service create the meme in a different directory than the others but that's all right we can see that later.