• S sverchok
  • Информация о проекте
    • Информация о проекте
    • Активность
    • Метки
    • Участники
  • Репозиторий
    • Репозиторий
    • Файлы
    • Коммиты
    • Ветки
    • Теги
    • Участники
    • Диаграмма
    • Сравнение
  • Задачи 148
    • Задачи 148
    • Список
    • Доски
    • Спринты
  • Запросы на слияние 21
    • Запросы на слияние 21
  • CI/CD
    • CI/CD
    • Конвейеры
    • Задания
    • Расписания
  • Развертывания
    • Развертывания
    • Окружения
    • Релизы
  • Пакеты и реестры
    • Пакеты и реестры
    • Реестр пакетов
    • Реестр контейнеров
  • Мониторинг
    • Мониторинг
    • Инциденты
  • Аналитика
    • Аналитика
    • Поток ценности
    • CI/CD
    • Репозиторий
  • Wiki
    • Wiki
  • Сниппеты
    • Сниппеты
  • Активность
  • Диаграмма
  • Создать новую задачу
  • Задания
  • Коммиты
  • Доски с задачами
Свернуть панель
  • nikitronn
  • sverchok
  • Задачи
  • #4313
Закр.
Открыто
Задача созд. Авг 29, 2021 пользователемnikitronn@nikitronnВладелец

Stethoscope MK2 forces numeric string formatting

Created by: sna-scourtney

Problem statement

When displaying string data, the Stethoscope MK2 node implicitly formats its input, so the displayed data may not accurately represent the data. A specific example is that strings suffixed with ".001" (or any decimal followed by a numeric value) will have a zero added left of the decimal by Stethoscope. Debug Print confirms this is not the actual data.

Steps to reproduce

  1. Use a Formula node to create a list of strings, e.g., "[['TestOne','StringTwo','ItemThree']]".
  2. Pass this list through a String Tools node to append the constant ".001".
  3. Use Stethoscope (in text mode) to display the test data before and after the String Tools node.
  4. Compare the Stethoscope output with Debug Print output.

Expected result

For the example above, Stethoscope should output "[[['TestOne','StringTwo','ItemThree']]]" from before the append and "[[['TestOne.001','StringTwo.001','ItemThree.001']]]" after the append. Debug Print should show identical outputs.

Actual result

Before the append, the result matches the expected for Stethoscope and Debug Print.

After the append, Stethoscope displays "[[['TestOne0.001','StringTwo0.001','ItemThree0.001']]]". Debug Print produces the expected output after the append.

Sverchok version

Self-updated via its embedded updater as of 2021-08-28.

Ответственный
Назначить
Оценка трудозатрат