Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of chocomufin software for GitHub Actions #33

Open
malamatenia opened this issue Dec 22, 2021 · 2 comments
Open

Implementation of chocomufin software for GitHub Actions #33

malamatenia opened this issue Dec 22, 2021 · 2 comments
Labels
bug Something isn't working enhancement New feature or request quality control tools for GitHub Actions

Comments

@malamatenia
Copy link
Contributor

malamatenia commented Dec 22, 2021

Following the practices of HTR-United as per this far, I found it interesting to implement the software chocomufin developed by Professors Clérice and Pinche in order to ensure the quality of our transcription. All relevant information can be found detailed here: https://github.com/PonteIneptique/choco-mufin but I will explain briefly the commands.

Note: the name did not run under choco-mufin but under chocomufin without a tilde so I am following this writing

1.The software can be installed via the terminal with the command pip install chocomufin inside the cloned repository/
Two possibilities follow for the
2. Creation of a spacial characters table

  • A table with the special characters does not exist inside the repository (table.csv), so we proceed to create it with the command chocomufin generate table.csv nameofyourfolder/**/*.xml This structure concerns a folders that contain one folder /**/ that contain any .XML file /*.xml. A table is created and pops up in the terminal.
  • Someone else has already created a table.csv and all we need is to enhance it (as owners) or propose to enhance it (as external collaborator) with the special characters contained in another respective .xml document. In this case, the cloned repository contains already a table.csv so we proceed to convert it as follows
  1. After creating a branch (as the document is going to be pushed in the repository) the command ```chocomufin control table.csv nameoffolder/**/*/.xml reads the xml files to get the characters that are missing from the existing table.
  2. Then in order to add the ones that are not included and covert the table we type chocomufin convert table.csv nameoffolder/**/*/.xml
  3. Lastly, we push it to the repository to have the sum of the characters in both documents (for the moment).

The workflow: with each pull and push request the software checks if the new .xml documents are complying with the character table created. We can very well, if we find a new character, add it following the same process.

🎉

Well, it still does not run smoothly for the moment but I am on it 👍

@malamatenia malamatenia added bug Something isn't working enhancement New feature or request quality control tools for GitHub Actions labels Dec 22, 2021
@apogonoe
Copy link
Contributor

Do we still try to include this in the project?

@malamatenia
Copy link
Contributor Author

Yes, there is a small bug I am trying to figure out with professor Clérice, which should be resolved eventually. There is no pressure to have it debugged for the homework assignment, no pressure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request quality control tools for GitHub Actions
Projects
None yet
Development

No branches or pull requests

2 participants