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

Proposal to standardise the nesting level of strings

Created by: Moult

I see that most nodes return this pattern [[n]], where n is an integer, a list of three coordinates for a vertex, or a list of two indices for an edge. I also see a lot of this pattern, which makes sense due to the nested list:

x_out = []
for a, b, c in zip_long_repeat(...):
    ...
    x_out.append()

However, then I see some examples like the File Path node which gives ['foo bar']. Shouldn't this be [['foo bar']]?

Another example is the Note node, which gives [[['foo'], ['bar']]]. Shouldn't this also be [['foo bar']], and then another node should split by whitespace, which can then convert it into [['foo', 'bar']]?

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