Giter VIP home page Giter VIP logo

sardes's Introduction

SARDES - Suivi, Analyse et Représentation de Données d’Eaux Souterraines

License: GPL v3 Latest release Build Status codecov

screenshot

sardes's People

Contributors

jnsebgosselin avatar

Stargazers

 avatar

Watchers

 avatar Martin Blouin avatar

sardes's Issues

Bug lorsque clique sur sur bouton "importer depuis le presse papier" dans la table "Mesures Manuelles"

Description

Cliquer sur le bouton Importer depuis le presse papier de la table Mesures Manuelles lorsque le presse-papier est vide cause un bug.

image

Informations système

Sardes 0.12.2
Python 3.8.10 64-bit
Qt 5.15.2
PyQt5 5.15.7
Windows 10

Trace d'appels

Traceback (most recent call last):
  File "D:\Projets\sardes\sardes\widgets\tableviews.py", line 62, in __triggered__
    new_data = pd.read_clipboard(sep='\t', dtype='str', header=None)
  File "C:\Python38\lib\site-packages\pandas\io\clipboards.py", line 83, in read_clipboard
    return read_csv(StringIO(text), sep=sep, **kwargs)
  File "C:\Python38\lib\site-packages\pandas\util\_decorators.py", line 311, in wrapper
    return func(*args, **kwargs)
  File "C:\Python38\lib\site-packages\pandas\io\parsers\readers.py", line 586, in read_csv
    return _read(filepath_or_buffer, kwds)
  File "C:\Python38\lib\site-packages\pandas\io\parsers\readers.py", line 488, in _read
    return parser.read(nrows)
  File "C:\Python38\lib\site-packages\pandas\io\parsers\readers.py", line 1047, in read
    index, columns, col_dict = self._engine.read(nrows)
  File "C:\Python38\lib\site-packages\pandas\io\parsers\c_parser_wrapper.py", line 224, in read
    chunks = self._reader.read_low_memory(nrows)
  File "pandas\_libs\parsers.pyx", line 801, in pandas._libs.parsers.TextReader.read_low_memory
  File "pandas\_libs\parsers.pyx", line 857, in pandas._libs.parsers.TextReader._read_rows
  File "pandas\_libs\parsers.pyx", line 843, in pandas._libs.parsers.TextReader._tokenize_rows
  File "pandas\_libs\parsers.pyx", line 1925, in pandas._libs.parsers.raise_parser_error
pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 3, saw 2

Erreur si suppression de lignes dans une table vide

Description

Cliquer sur le bouton pour supprimer une ou des lignes dans un table vide.

Informations système

Sardes 0.12.2
Python 3.8.10 64-bit
Qt 5.15.2
PyQt5 5.15.7
Windows 10

Trace d'appels

Traceback (most recent call last):
  File "D:\Projets\sardes\sardes\widgets\tableviews.py", line 1594, in _delete_selected_rows
    self.model().delete_row(rows)
  File "D:\Projets\sardes\sardes\api\tablemodels.py", line 1036, in delete_row
    return self.sourceModel().delete_row(
  File "D:\Projets\sardes\sardes\api\tablemodels.py", line 751, in delete_row
    self.edits_controller.execute(edit)
  File "D:\Projets\sardes\sardes\api\tableedits.py", line 81, in execute
    edit.execute()
  File "D:\Projets\sardes\sardes\api\tablemodels.py", line 256, in execute
    self.parent.index(self.row.min(), 0),
TypeError: index(self, int, int, parent: QModelIndex = QModelIndex()): argument 1 has unexpected type 'float'

Update fa icons to fa5 icon set

In PR #14, we bumped the min req version for qtawesome to the 1.1 series from 1.0. This resulted in a bunch of deprecated messages that will need to be fixed eventually.

image

Remove DB type option in the connection manager

Although Sardes was designed with the idea of being able to connect to several types of database, only the "Sardes SQLite" DB format is actually supported. To avoid confusion, we should remove this option for now.

image

Problème de cohérence dans la table "Sonde installation"

Il est présentement possible que la même sonde soit renseignée comme étant installée dans deux puits en même temps. Ça prendrait une règle logique pour l'empêcher. Voir le cas ci-dessous. Une date de fin devrait être renseignée pour pouvoir associer une sonde anciennement installée dans un puits à un nouveau puits sinon les données chargées dans la BD s'associent au puits ayant la date de début la plus vieille.

image

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.