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

Created Cleaner #2

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Created Cleaner #2

wants to merge 6 commits into from

Conversation

viniFiedler
Copy link

###Major Changes
-Agora o gerador de certificados possui um clean.py que limpa todos os cvs
-A funcionalidade é chamada direto na main e pode ser ativida ou desativada pelo config.yaml
-A quantidade de horas que irá ser atribuida a cada evento também é colocada no config.yaml, no campo cleaner_hours, e precisa ser atribuida em uma lista [ 1, 2, ...] atribuidas em ordem alfabética dos eventos
##Minor Changes

  • Função readYAML() movida para o clean.py
  • Pastas de inputs do cleaner criada
  • Readme atualizado

 - Agora os csv sao armazenados numa pasta e sao limpos de la
 - O numero de horas que ira ser alocado para cada palestra é dado por uma lista
 -  Todos os csv sao limpos e mergeados em um unico output.csv
[x] cleaner() ordena csvs por nome
[x] cleaner() usa informações de lista do config.yaml
[x] config.yaml Possui informações do cleaner.py
[x] cleanerCert() ordena csvs por nome
[x] cleanerCert() usa informações de lista do config.yaml
[x] config.yaml Possui informações do cleaner.py
Copy link
Member

@kszinhu kszinhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tudo correto quanto a código mesmo, perfeito.

Correções

  1. Correção ortográfica

Observações

  1. Formatação da PR(Pull Request), ver como se escreve em Markdown (sem muita obrigatoriedade)
  2. Em conjunto com o tópico anterior, vale comentar de git commit patterns e principalmente git flow

```
The input file must contain two columns, 'NAME' and 'HOURS' and be separate by commas.
The input file must contain two columns, 'NAME' and 'HOURS' and be separate by commas. Or you can use the cleaner by setting it to true ,listing the hours of each event [1,2,3] and then putting all the CSVs in the directory 'inputToClean'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pequena alteração que remete a ortografia:

Suggested change
The input file must contain two columns, 'NAME' and 'HOURS' and be separate by commas. Or you can use the cleaner by setting it to true ,listing the hours of each event [1,2,3] and then putting all the CSVs in the directory 'inputToClean'.
The input file must contain two columns, 'NAME' and 'HOURS' and be separate by commas. Or you can use the cleaner by setting it to true, listing the hours of each event [1,2,3] and then putting all the CSVs in the directory 'inputToClean'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants