ValadisCERTH commited on
Commit
5ace436
·
1 Parent(s): 4721d33

Update magnitudeIdentification.py

Browse files
Files changed (1) hide show
  1. magnitudeIdentification.py +2 -1
magnitudeIdentification.py CHANGED
@@ -238,7 +238,7 @@ def convert_into_numeric(num_list):
238
  try:
239
 
240
  target_num_float = float(target_num)
241
- return {'Number': target_num}
242
 
243
  except:
244
 
@@ -300,6 +300,7 @@ def magnitude_binding(input_text):
300
  if len(target_numbers) == 1:
301
  numeric_target_numbers = convert_into_numeric(target_numbers)
302
 
 
303
  return numeric_target_numbers
304
 
305
  # in case of zero references return the appropriate code (to aid returning the correct prompt)
 
238
  try:
239
 
240
  target_num_float = float(target_num)
241
+ return {'Number': target_num_float}
242
 
243
  except:
244
 
 
300
  if len(target_numbers) == 1:
301
  numeric_target_numbers = convert_into_numeric(target_numbers)
302
 
303
+ print("edw")
304
  return numeric_target_numbers
305
 
306
  # in case of zero references return the appropriate code (to aid returning the correct prompt)