TimeFeatures 1.0.9__tar.gz → 1.0.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/PKG-INFO +1 -1
  2. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/TimeFeatures.egg-info/PKG-INFO +1 -1
  3. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/setup.py +1 -1
  4. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/timefeatures/widgets/owsavetodb.py +2 -11
  5. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/LICENSE +0 -0
  6. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/README.md +0 -0
  7. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/TimeFeatures.egg-info/SOURCES.txt +0 -0
  8. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/TimeFeatures.egg-info/dependency_links.txt +0 -0
  9. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/TimeFeatures.egg-info/entry_points.txt +0 -0
  10. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/TimeFeatures.egg-info/top_level.txt +0 -0
  11. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/setup.cfg +0 -0
  12. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/timefeatures/widgets/__init__.py +0 -0
  13. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/timefeatures/widgets/icons/graphgenerator.svg +0 -0
  14. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/timefeatures/widgets/icons/savedatadb.svg +0 -0
  15. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/timefeatures/widgets/icons/timefeature-xs.svg +0 -0
  16. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/timefeatures/widgets/icons/timefeature.svg +0 -0
  17. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/timefeatures/widgets/owtfgraphgenerator.py +0 -0
  18. {TimeFeatures-1.0.9 → TimeFeatures-1.0.10}/timefeatures/widgets/owtimefeatureconstructor.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TimeFeatures
3
- Version: 1.0.9
3
+ Version: 1.0.10
4
4
  Summary: Timefeatures add-on for Orange 3 data mining software.
5
5
  Home-page: https://github.com/alervgr/Orange-TimeFeatures
6
6
  Author: Alejandro Rivas García
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TimeFeatures
3
- Version: 1.0.9
3
+ Version: 1.0.10
4
4
  Summary: Timefeatures add-on for Orange 3 data mining software.
5
5
  Home-page: https://github.com/alervgr/Orange-TimeFeatures
6
6
  Author: Alejandro Rivas García
@@ -21,7 +21,7 @@ setup(name="TimeFeatures",
21
21
  packages=["timefeatures.widgets"],
22
22
  package_data={"timefeatures.widgets": ["icons/*.svg", "icons/*.png"]},
23
23
  entry_points={"orange.widgets": "Time-Features = timefeatures.widgets"},
24
- version="1.0.9",
24
+ version="1.0.10",
25
25
  author="Alejandro Rivas García",
26
26
  author_email="alejandrorivasgarcia@gmail.com",
27
27
  keywords=[
@@ -180,6 +180,7 @@ class owsavetodb(OWBaseSql, OWWidget):
180
180
 
181
181
  def create_table(self, table_name):
182
182
 
183
+ self.progressBarInit()
183
184
  contBar = 0
184
185
  contMetasOriginales = 0
185
186
  cont = 0
@@ -226,20 +227,10 @@ class owsavetodb(OWBaseSql, OWWidget):
226
227
  insert_query = insert_query[:-1] # Eliminar la coma final
227
228
  insert_query += ")"
228
229
 
229
- self.progressBarInit()
230
-
231
230
  for instance in self.data:
232
231
  data_row = []
233
232
  contBar += 1
234
-
235
- if contBar*4 == len(self.data):
236
- self.progressBarSet(25)
237
- elif contBar*2 == len(self.data):
238
- self.progressBarSet(50)
239
- elif contBar == len(self.data)-(len(self.data)/4):
240
- self.progressBarSet(75)
241
- elif contBar == len(self.data):
242
- self.progressBarSet(100)
233
+ self.progressBarSet((contBar + 1) * 100 / len(self.data))
243
234
 
244
235
  for i in range(len(variables)):
245
236
  if cont > 0:
File without changes
File without changes
File without changes